package com.corpgovernment.common.utils;

import java.util.ArrayList;
import java.util.List;

public class ListUtils {

    public static List copyList(List sourceList, Class targetClass) {
        List list = new ArrayList();
        for (Object sourceObj : sourceList) {
            Object obj = ObjectUtils.copyProperties(sourceObj, targetClass);
            list.add(obj);
        }
        return list;
    }
}